<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'dlumali';

$db = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
if(!$db) {
		die("Database connection failed: " . mysql_error());
	}
$select_db = mysql_select_db($dbname);
if(!$select_db) {
		die("Database selection failed: " . mysql_error());
	}
	

	
?>